<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<?php
$message = $model->message;
if(!isset($message)){
	$message = "在这个站点注册";
}
?>
<p class="message register"><?php echo $message;?></p>

<?php $form=$this->beginWidget('CActiveForm', array(
)); ?>
<?php echo $form->errorSummary($model); ?>
<?php
if($model->enabledReigster=="1" && $model->enableMail=="1") {
	?>
<p><label><?php echo $form->label($model,'name'); ?><br />
	<?php echo $form->textField($model,'name',array("class"=>"input")); ?></label>
</p>
<p><label><?php echo $form->label($model,'email'); ?><br />
	<?php echo $form->textField($model,'email',array("class"=>"input")); ?></label>
</p>

<p><label><?php echo $form->label($model,'password'); ?><br />
 <?php echo $form->passwordField($model,'password',array("class"=>"input")); ?></label>
</p>

<p><label><?php echo $form->label($model,'confirm'); ?><br />
 <?php echo $form->passwordField($model,'confirm',array("class"=>"input")); ?></label>
</p>
<p id="reg_passmail">点击注册，立即成功</p>
<br class="clear" />
	<?php if($model->enableMail=="1"){?>
<p class="submit"><?php echo CHtml::submitButton('注册',array("class"=>"button-primary")); ?></p>
	<?php }}?>
	<?php $this->endWidget(); ?>
	<?php echo CHtml::link("找回密码", Yii::app()->params['app']['getpwUrl']); ?>
|
	<?php echo CHtml::link(Yii::app()->params['app']['name'], Yii::app()->params['app']['host']); ?>
